from service.handle_analysis_sign import AnalysisSign

#标识解析

def register(jsonrpc, db_addr, db_port,db_name,session):
    analysis_sign = AnalysisSign(db_addr, db_port,db_name)

    @jsonrpc.method('IAnalysSignService.analys')
    def AnalysisSign_service(handle_code):
        res = analysis_sign.cal_analysis_sign(handle_code)
        return res